﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BouquetApplication.logging
{
    public class LoggerContainer:ILogger
    {
        private List<ILogger> _loggers = new List<ILogger>();
        public void Log(string text)
        {
            foreach (ILogger logger in _loggers)
            {
                logger.Log(text);
            }
        }

        public void Add(ILogger logger)
        {
            _loggers.Add(logger);
        }
    }
}
